package cn.edu.gzgs.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 批量导入操作的结果封装对象
 * @author Zyf
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "批量导入操作的结果")
public class ImportResultVO {

    @Schema(description = "处理的总行数")
    private int totalRows;

    @Schema(description = "成功导入的行数")
    private int successCount;

    @Schema(description = "失败的行数")
    private int failureCount;

    @Schema(description = "错误详情列表，每条记录包含行号和错误信息")
    private List<String> errors;
} 